package com.ll.xiaonew.system.modules.homes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author xiaonew
 * @email 2061996582@qq.com
 * @date 2023-04-06 18:24:38
 */
@Data
@TableName("uni_home_picture")
public class HomePictureEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 图片路径
	 */
	private String picUrl;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 创建时间
	 */

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 展示时间
	 */

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date showTime;
	/**
	 * 排序
	 */
	private Integer num;

}
